package com.orangelife.mobile.constants;

/**
 * 城市、小区、楼栋、房号 的 API
 * Created by wgf on 2016/6/8.
 *
 * @author wgf
 * @since v3.7.2
 */
public interface HouseURL {

    /** 已开通服务的城市 */
    String SERVICE_CITY = Constant.URL_HEAD_PROPINFO + "orangelife/service/v1.0.0/base/openCity";

    /**已开通服务的小区*/
    String SERVICE_COMMUNITY = Constant.URL_HEAD_PROPINFO + "orangelife/service/v1.0.0/cmmcommunity/getCommList";

    /** 获取楼栋号URL（com.orangelife.mobile.complaints.activity.SelectHouseActivity用，可与旧版通用） */
    String BUILDING_NEW = Constant.URL_HEAD_PROPINFO
            + "orangelife/service/v1.0.0/building/{comID}/buildings";

    /** 获取门牌号URL（com.orangelife.mobile.complaints.activity.SelectHouseActivity用，不通用，字段不一样，apartmentName-apartmentNumb） */
    String APARTMENT_NEW = Constant.URL_HEAD_PROPINFO
            + "orangelife/service/v1.0.0/building/{buildID}/apartments";

    /*_________________________________旧_______________________________*/

    /** 获取楼栋号URL */
    String BUILDING = Constant.URL_HEAD
            + "orangelife/service/base/{comID}/building";

    /** 获取门牌号URL */
    String APARTMENT = Constant.URL_HEAD
            + "orangelife/service/base/{buildID}/apartment";

    /** 获取已开通城市列表 */
    String CITY = Constant.URL_HEAD + "orangelife/service/base/getCitys";

    /** 获取该城市已开通小区列表 */
    String COMM = Constant.URL_HEAD + "orangelife/service/cmmcommunity/getCommList";

    /**判断用户是否在该小区认证*/
    String isCert = Constant.URL_HEAD1 + "orangelife/service/cerCertification/whetherCertification";
}
